<div class="form bootform">
    <?php
    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'bank-form',
        'enableClientValidation' => true,
        'clientOptions' => array('validateOnSubmit' => true),
        'focus' => array($model, 'first_name'),
        'htmlOptions' => array('class' => 'wufoo')
            ));
    ?>
    <header class="info" id="header">
        <h2>Bank Form</h2>

        <div class="alert-message block-message">
            Fields with <span class="required">*</span> are required.
        </div>
    </header>

    <?php echo $form->errorSummary($model); ?>
    <ul>
        <li>
            <?php echo $form->labelEx($model, 'name', array('class'=>'desc')); ?>
            <div><?php echo $form->textField($model, 'name', array('class'=>'field text medium')); ?></div>
            <label class="hint">Ex. Dhaka Bank</label>
            <?php echo $form->error($model, 'name'); ?>
        </li>
        <li class="buttons action ">
            <div>
                <?php echo CHtml::submitButton($model->isNewRecord ? 'Submit' : 'Save', array('class' => 'btn primary')); ?>
            </div>
        </li>
    </ul>        
    <?php $this->endWidget(); ?>
</div>